package com.dfs.parent.gateway;

import com.dfs.parent.gateway.config.GrayGatewayLoadBalancerConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.loadbalancer.annotation.LoadBalancerClients;


/**
 * @Description 启动GatewayApplication
 * @Author dahong
 * @Date 2024/1/27 18:09
 */
//是否开启灰度负载均衡
@LoadBalancerClients(defaultConfiguration = GrayGatewayLoadBalancerConfig.class)
@SpringBootApplication
public class GatewayApplication {
    public static void main(String[] args) {
        SpringApplication.run(GatewayApplication.class, args);
    }
}
